package com.nuanshui.heatedloan.credit.facade;

import com.nuanshui.heatedloan.credit.model.ZeroDayInfo;

/**
 * Created by wangxw on 2017/7/15.
 */
public interface ZeroDayInfoService {
    /***
     * 根据用户id和产品类型获取置零天数
     * @param userId
     * @param type
     * @return
     */
    ZeroDayInfo getZeroDayInfoByUserIdAndType(String userId, int type);

    /***
     * 更新置零天数
     * @param userId
     * @param type
     */

    public void updateZeroDayInfoByUserIdAndType(String userId,int type,int day) ;


    /***
     * 插入置零更新天数
     * @param zeroDayInfo
     */
    public void insertZeroDayInfoByUserIdAndType(ZeroDayInfo zeroDayInfo);


}
